package 命令设计模式;

/**
 * 抽象的命令接口
 */
public abstract class Command {

    protected ConditionReciver conditionReciver;

    public Command(ConditionReciver conditionReciver) {
        this.conditionReciver = conditionReciver;
    }

    /**
     * 命令执行
     */
    abstract void execute();
}
